package com.jzo2o.customer.controller.consumer;

import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.service.IServeProviderService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags = "用户端 - 服务人员相关接口")
@RestController
@RequestMapping("/worker/false/TODO")
public class WorkerController {
    @Resource
    private IServeProviderService serveProviderService;

    @ApiOperation("服务人员认证审核")
    @PostMapping("/certification-audit")
    public void workerCertificationAudit(@RequestBody WorkerCertificationAuditAddReqDTO dto) {
        serveProviderService.workerCertificationAudit(dto);
    }
}
